package com.xsz.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name="tb_info")
@Getter
@Setter
public class Info implements Serializable {
    private static final long serialVersionUID = 1L;
    /**主键ID**/
    @Id
    @Column(length=60)
    private String id;

    /**创建人ID**/
    @Column(length=60)
    private String createby;

    /**创建人用户名**/
    @Column(length=60)
    private String createname;

    /**创建时间**/
    @Column(length=60)
    private String createtime;

    /**信息标题**/
    @Column(length=60)
    private String tile;

    /**信息详细内容**/
    @Column(length=200)
    private String content;

    /**产品类别**/
    @Column(length=60)
    private String producttype;

    /**联系人电话**/
    @Column(length=60)
    private String mobile;

    /**联系人微信**/
    @Column(length=60)
    private String wechat;

    /**联系人qq**/
    @Column(length=60)
    private String qq;

    /**产品图片信息**/
    @Column(length=300)
    private String image;

    /**供求情况**/
    @Column(length=30)
    private String sd;

    /**
     * 信息类型
     * 0表示普通信息
     * 1表示收费信息
     */
    private Integer type=0;

    /**价格**/
    @Column(length=30)
    private String price;

    /**发布人真实姓名**/
    @Column(length=30)
    private String createrealname;


}
